﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="function.aspx.cs" Inherits="Site.Admin.function2" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>function</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<link href="/style/css.css" rel="stylesheet" type="text/css">
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<TABLE id="Table1" cellSpacing="1" cellPadding="1" width="100%" border="0">
				<TR class="bgcolor">
					<TD align="center" class="title">功能列表</TD>
				</TR>
				<TR bgcolor="#cecfce">
					<TD align="right" bgcolor="#ffffff"><asp:button CssClass="button" id="Button1" runat="server" Text=" 返回"></asp:button>
					</TD>
				</TR>
				<TR>
					<TD><hr>
						<br>
						<asp:DataGrid id="dg" runat="server" AutoGenerateColumns="False" Width="100%" DataKeyField="id">
							<Columns>
								<asp:BoundColumn DataField="name" HeaderText="功能名称"></asp:BoundColumn>
								<asp:BoundColumn DataField="path" HeaderText="功能路径"></asp:BoundColumn>
								<asp:BoundColumn DataField="fathername" HeaderText="所属父类名称"></asp:BoundColumn>
								<asp:TemplateColumn HeaderText="所属公司">
									<ItemTemplate>
										<asp:Label id=Label1 runat="server" Text='<%# corpString(DataBinder.Eval(Container, "DataItem.codesoncorp") )%>'>
										</asp:Label>
									</ItemTemplate>
								</asp:TemplateColumn>
								<asp:ButtonColumn Text="删除" HeaderText="操作" CommandName="Delete"></asp:ButtonColumn>
								<asp:BoundColumn Visible="False" DataField="id"></asp:BoundColumn>
							</Columns>
						</asp:DataGrid></TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>
